import 'package:flutter/cupertino.dart';

class LoginCustomModel extends ChangeNotifier {
  String? name;
  String? pass = "";
  String? code = "";
  String? confirmPass = "";

  ///选中的登录方式，0 密码登录，1验证码登录 2微信登录
  int selectType = 0;
  bool isHideKeyboard = false;

  ///是否同意了协议
  bool isAgree = false;

  ///验证码
  String? validCode = "";

  ///输入密码方式，0隐藏，1显示
  int inputPass = 0;

  ///手机号是否完整
  bool isMobileValid = false;

  bool btnEnable = false;

  ///是否输入了内容,0未输入，1已输入
  int inputType = 0;

  LoginCustomModel();

  void update() {
    notifyListeners();
  }
}